﻿/*
Copyright (C) 2010-2012 European Broadcasting Union
http://www.ebulabs.org
*/
/*
This file is part of ebu-content-manager.
https://code.google.com/p/ebu-content-manager/

EBU-content-manager is free software: you can redistribute it and/or modify
it under the terms of the GNU LESSER GENERAL PUBLIC LICENSE as
published by the Free Software Foundation, version 3.
EBU-content-manager is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU LESSER GENERAL PUBLIC LICENSE for more details.

You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
along with EBU-content-manager.  If not, see <http://www.gnu.org/licenses/>.
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XMLConfig.CMS
{

    public class FtpAccount
    {
        public String server = "";
        public String login = "";
        public String password = "";
        public int minperiod = 0;
        public Boolean externalProcess = false;
        

        internal void print()
        {
            Console.WriteLine("FTP : " + server + " " + login + " " + password + " " + minperiod + " ");
        }

        public override string ToString()
        {
            return server + ", " + login + ", " + password + ", " + minperiod + ", extProc:" + ((externalProcess)?"yes":"no");
        } 
    }
}
